<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Encrypted file transfer: /home/marco/dev/comm/test_bigint.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Encrypted file transfer
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('test__bigint_8c.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">test_bigint.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;signal.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &lt;fcntl.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="bigint_8h_source.html">bigint.h</a>&quot;</code><br/>
</div>
<p><a href="test__bigint_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a69aa97f2875a62203286cf93e0b18bf4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a69aa97f2875a62203286cf93e0b18bf4">INIT_SEED</a>&#160;&#160;&#160;&quot;31415&quot;</td></tr>
<tr class="separator:a69aa97f2875a62203286cf93e0b18bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d059e6a83d21bea4f4db1c9fbd240b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ad0d059e6a83d21bea4f4db1c9fbd240b">MENU</a>&#160;&#160;&#160;&quot;1. Standard test\n2. random list\n3. power and inverse\n4. to and from bytes\n5. 2 and fro bytes\n EXIT BY CTRL-C.\n&quot;</td></tr>
<tr class="separator:ad0d059e6a83d21bea4f4db1c9fbd240b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4c795d289629179227f1098f35379b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ad4c795d289629179227f1098f35379b5">MAKE_Y_CHOICE</a>&#160;&#160;&#160;&quot;Please select a menu item: &quot;</td></tr>
<tr class="separator:ad4c795d289629179227f1098f35379b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7efd7ca7366193c8e52fe8bbdc61745"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ac7efd7ca7366193c8e52fe8bbdc61745">YOU_KIDDING_ME</a>&#160;&#160;&#160;&quot;Are you kidding me??\n&quot;</td></tr>
<tr class="separator:ac7efd7ca7366193c8e52fe8bbdc61745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27581cab33c5e8c459490f7d4f43fec1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a27581cab33c5e8c459490f7d4f43fec1">MAX_CHOICE</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:a27581cab33c5e8c459490f7d4f43fec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90fdd143d4143d4ca46c8555834f26b2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a90fdd143d4143d4ca46c8555834f26b2">RANDOM_LEN</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a90fdd143d4143d4ca46c8555834f26b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad974fe981249f5e84fbf1683b012c9f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ad974fe981249f5e84fbf1683b012c9f8">BUFLEN</a>&#160;&#160;&#160;256</td></tr>
<tr class="separator:ad974fe981249f5e84fbf1683b012c9f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ade5c50a0cb2b7b4df24fcc52e6f145aa"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ade5c50a0cb2b7b4df24fcc52e6f145aa">menu_item_t</a> )(void)</td></tr>
<tr class="separator:ade5c50a0cb2b7b4df24fcc52e6f145aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae9fa379677100866fa335a0b8adf3ea2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#ae9fa379677100866fa335a0b8adf3ea2">sighandler</a> (int signum)</td></tr>
<tr class="separator:ae9fa379677100866fa335a0b8adf3ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb1f1d71e132cbe49b58586c895913c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#acb1f1d71e132cbe49b58586c895913c3">std_test</a> ()</td></tr>
<tr class="separator:acb1f1d71e132cbe49b58586c895913c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3255c8ab50def99b1231fad9f3386b1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a3255c8ab50def99b1231fad9f3386b1d">rnd_list</a> ()</td></tr>
<tr class="separator:a3255c8ab50def99b1231fad9f3386b1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6327a472dc1005324a00d2ad01d2f0c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a6327a472dc1005324a00d2ad01d2f0c7">pow_inv</a> ()</td></tr>
<tr class="separator:a6327a472dc1005324a00d2ad01d2f0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa747cb3f26a9662cc37891799fd49568"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#aa747cb3f26a9662cc37891799fd49568">to_fro_bytes</a> ()</td></tr>
<tr class="separator:aa747cb3f26a9662cc37891799fd49568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c091c495972ad96235cbb02c08f61b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a11c091c495972ad96235cbb02c08f61b">two_fro_bytes</a> ()</td></tr>
<tr class="separator:a11c091c495972ad96235cbb02c08f61b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__bigint_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ad974fe981249f5e84fbf1683b012c9f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BUFLEN&#160;&#160;&#160;256</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00014">14</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a69aa97f2875a62203286cf93e0b18bf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INIT_SEED&#160;&#160;&#160;&quot;31415&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00008">8</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad4c795d289629179227f1098f35379b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAKE_Y_CHOICE&#160;&#160;&#160;&quot;Please select a menu item: &quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00010">10</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a27581cab33c5e8c459490f7d4f43fec1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CHOICE&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00012">12</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad0d059e6a83d21bea4f4db1c9fbd240b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MENU&#160;&#160;&#160;&quot;1. Standard test\n2. random list\n3. power and inverse\n4. to and from bytes\n5. 2 and fro bytes\n EXIT BY CTRL-C.\n&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00009">9</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a90fdd143d4143d4ca46c8555834f26b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_LEN&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00013">13</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="ac7efd7ca7366193c8e52fe8bbdc61745"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define YOU_KIDDING_ME&#160;&#160;&#160;&quot;Are you kidding me??\n&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00011">11</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ade5c50a0cb2b7b4df24fcc52e6f145aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*  menu_item_t)(void)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00016">16</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00123">123</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6327a472dc1005324a00d2ad01d2f0c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pow_inv </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00055">55</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a3255c8ab50def99b1231fad9f3386b1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rnd_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00043">43</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="ae9fa379677100866fa335a0b8adf3ea2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sighandler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>signum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00018">18</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="acb1f1d71e132cbe49b58586c895913c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void std_test </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00025">25</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="aa747cb3f26a9662cc37891799fd49568"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void to_fro_bytes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00081">81</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
<a class="anchor" id="a11c091c495972ad96235cbb02c08f61b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void two_fro_bytes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="test__bigint_8c_source.html#l00101">101</a> of file <a class="el" href="test__bigint_8c_source.html">test_bigint.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_48915bc83c3e9a2c33920cc086982b8a.html">comm</a></li><li class="navelem"><a class="el" href="test__bigint_8c.html">test_bigint.c</a></li>
    <li class="footer">Generated on Sun Nov 16 2014 15:38:22 for Encrypted file transfer by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
